package com.hsy.crm.web.domain.entity;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * 库存明细
 *
 */
@Table(name = "t_sale_cost_detail")
public class SaleCostDetail extends BaseEntity{

    /**
     * 入库明细id（采购明细）
     */
    @Column(length = 19)
    private Long inStoreProductDetailId;

    /**
     * 出库明细id（销售明细）
     */
    @Column(length = 19)
    private Long outStoreProductDetailId;

    @Column(length = 19)
    private Long saleCostDetailId;

    @Column(length = 19)
    private Long outNumber;

    @Column(length = 19)
    private Long outPrice;

    /**
     * 入库明细 数据库时间（采购）
     */
    @Column(length = 19)
    private Long inTime;

    /**
     * 出库明细 数据库时间（销售）
     */
    @Column(length = 19)
    private Long outTime;

    /**
     * 销售退货 已退数量    一次性全退时不记录
     */
    @Column(length = 19)
    private Long backNumber;

    /**
     * 销售退货 已退金额    一次性全退时不记录
     */
    @Column(length = 19)
    private Long backPrice;

    public Long getSaleCostDetailId() {
        return saleCostDetailId;
    }

    public void setSaleCostDetailId(Long saleCostDetailId) {
        this.saleCostDetailId = saleCostDetailId;
    }

    public Long getBackNumber() {
        return backNumber;
    }

    public void setBackNumber(Long backNumber) {
        this.backNumber = backNumber;
    }

    public Long getBackPrice() {
        return backPrice;
    }

    public void setBackPrice(Long backPrice) {
        this.backPrice = backPrice;
    }

    public Long getInTime() {
        return inTime;
    }

    public void setInTime(Long inTime) {
        this.inTime = inTime;
    }

    public Long getOutTime() {
        return outTime;
    }

    public void setOutTime(Long outTime) {
        this.outTime = outTime;
    }

    public Long getInStoreProductDetailId() {
        return inStoreProductDetailId;
    }

    public void setInStoreProductDetailId(Long inStoreProductDetailId) {
        this.inStoreProductDetailId = inStoreProductDetailId;
    }

    public Long getOutStoreProductDetailId() {
        return outStoreProductDetailId;
    }

    public void setOutStoreProductDetailId(Long outStoreProductDetailId) {
        this.outStoreProductDetailId = outStoreProductDetailId;
    }

    public Long getOutNumber() {
        return outNumber;
    }

    public void setOutNumber(Long outNumber) {
        this.outNumber = outNumber;
    }

    public Long getOutPrice() {
        return outPrice;
    }

    public void setOutPrice(Long outPrice) {
        this.outPrice = outPrice;
    }
}
